import request from '@/utils/request';

export async function query() {
    return request('/api/users');
}

export async function queryCurrent() {
    // return request('/api/currentUser');
    let url = `/api/v1/user/verify`;

    return request(url, {
        method: 'post'
    })
}

export async function queryNotices() {
    return request('/api/notices');
}
